package com.competition.param.impl;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;


import com.competition.web.constant.ValidateCondtionAndMessage;

/**
 * 根据id 批量操作
 * @author Administrator
 *
 */
public class BatchOperationByIds {

	@NotNull(message = "订单号数组不能为零")
	@Size(min = 1, message = "最小订单号为1")
	private Integer[] ids;

	
	@NotNull(message = ValidateCondtionAndMessage.NOT_NULL_MESSAGE)
	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_COMMON_MSG)
	private String remarks;

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	
	public Integer[] getIds() {
		return ids;
	}

	public void setIds(Integer[] ids) {
		this.ids = ids;
	}
	
}
